package com.bilibili.bilibili.bean;

import java.util.List;

/**
 * 作者： 张贤伟
 * 时间： 2017/3/10 19:35
 * 类描述：
 */
public class BangumiBean {

    /**
     * code : 0
     * message : success
     * result : {"ad":{"body":[],"head":[{"id":0,"img":"http://i0.hdslb.com/bfs/bangumi/900940ccfd5b591bf1f69bed8b2d9a7de9f3c851.jpg","link":"http://bangumi.bilibili.com/anime/5776","pub_time":"2017-03-10 12:00:00","title":"URARA迷路帖"},{"id":0,"img":"http://i0.hdslb.com/bfs/bangumi/2cc14d831d0a4d7972870e72c1b944fd7a296831.jpg","link":"http://bangumi.bilibili.com/anime/5774","pub_time":"2017-03-10 12:00:00","title":"清恋 SEIREN"},{"id":0,"img":"http://i0.hdslb.com/bfs/bangumi/0b0321064b8a9669592aa106c45376c7082ef662.jpg","link":"http://bangumi.bilibili.com/anime/5803","pub_time":"2017-03-10 00:00:00","title":"SUPER LOVERS 第二季"},{"id":0,"img":"http://i0.hdslb.com/bfs/bangumi/24022640b0f05baf6cbe1be191ba41d2ef2d9c04.jpg","link":"http://bangumi.bilibili.com/anime/5830","pub_time":"2017-03-10 00:40:00","title":"三年E班Q"},{"id":0,"img":"http://i0.hdslb.com/bfs/bangumi/83822a05fa70ae0a0fb82a5fb99dd9cff9d09408.jpg","link":"http://bangumi.bilibili.com/anime/5800","pub_time":"2017-03-08 23:30:00","title":"小林家的龙女仆"}]},"previous":{"list":[{"cover":"http://i0.hdslb.com/bfs/bangumi/2673ac643b48eb5bda64c960a2ca850fbebb839d.jpg","favourites":"1655140","is_finish":1,"last_time":1482262210,"newest_ep_index":"11","pub_time":1475607600,"season_id":5550,"season_status":2,"title":"夏目友人帐 伍","watching_count":0},{"cover":"http://i0.hdslb.com/bfs/bangumi/b75c55d209d156c8631f5ceb21e5c52c834dbb60.jpg","favourites":"1311980","is_finish":0,"last_time":1483196409,"newest_ep_index":"1","pub_time":1483196400,"season_id":5747,"season_status":2,"title":"Fate/Grand Order \u2010First Order\u2010","watching_count":0},{"cover":"http://i0.hdslb.com/bfs/bangumi/b3633d2e5cafa0d048f4beef63618c92cfac4c4c.jpg","favourites":"781699","is_finish":1,"last_time":1482465609,"newest_ep_index":"12","pub_time":1475812800,"season_id":5534,"season_status":2,"title":"我太受欢迎了该怎么办","watching_count":0}],"season":4,"year":2016},"serializing":[{"cover":"http://i0.hdslb.com/bfs/bangumi/91e659b3a3cfe0e62e5e26a11a9f617533e8f161.jpg","favourites":"765688","is_finish":0,"is_started":1,"last_time":1489118402,"newest_ep_index":"10","pub_time":1483675200,"season_id":5774,"season_status":2,"title":"清恋 SEIREN","watching_count":4433},{"cover":"http://i0.hdslb.com/bfs/bangumi/055fcccf87dd9b2ff6d86adc43711fce5df78e44.jpg","favourites":"759905","is_finish":0,"is_started":1,"last_time":1489118402,"newest_ep_index":"10","pub_time":1483675200,"season_id":5776,"season_status":2,"title":"URARA迷路帖","watching_count":3818},{"cover":"http://i0.hdslb.com/bfs/bangumi/49d8640887f92329bec70fcd3cb0cebb537f0aeb.jpg","favourites":"1608772","is_finish":0,"is_started":1,"last_time":1489112804,"newest_ep_index":"51","pub_time":1435248000,"season_id":2543,"season_status":2,"title":"狐妖小红娘","watching_count":4816},{"cover":"http://i0.hdslb.com/bfs/bangumi/cca34c815248053cc377989143190598242fb01d.jpg","favourites":"683955","is_finish":0,"is_started":1,"last_time":1489112488,"newest_ep_index":"10","pub_time":1483632000,"season_id":5861,"season_status":2,"title":"从前有座灵剑山 第二季","watching_count":4476},{"cover":"http://i0.hdslb.com/bfs/bangumi/b51ce61d004d2f896a6c96ea5528a9a58daac91f.jpg","favourites":"474588","is_finish":1,"is_started":1,"last_time":1489077600,"newest_ep_index":"12","pub_time":1482424800,"season_id":5830,"season_status":2,"title":"三年E班Q","watching_count":1771},{"cover":"http://i0.hdslb.com/bfs/bangumi/54cd8c6ceec79b680c0bf6fdc27def94307e1db6.jpg","favourites":"470852","is_finish":0,"is_started":1,"last_time":1489075202,"newest_ep_index":"9","pub_time":1484150400,"season_id":5803,"season_status":2,"title":"SUPER LOVERS 第二季","watching_count":1856}]}
     */

    private int code;
    private String message;
    private ResultEntity result;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public ResultEntity getResult() {
        return result;
    }
    public void setResult(ResultEntity result) {
        this.result = result;
    }

    public static class ResultEntity {
        /**
         * ad : {"body":[],"head":[{"id":0,"img":"http://i0.hdslb.com/bfs/bangumi/900940ccfd5b591bf1f69bed8b2d9a7de9f3c851.jpg","link":"http://bangumi.bilibili.com/anime/5776","pub_time":"2017-03-10 12:00:00","title":"URARA迷路帖"},{"id":0,"img":"http://i0.hdslb.com/bfs/bangumi/2cc14d831d0a4d7972870e72c1b944fd7a296831.jpg","link":"http://bangumi.bilibili.com/anime/5774","pub_time":"2017-03-10 12:00:00","title":"清恋 SEIREN"},{"id":0,"img":"http://i0.hdslb.com/bfs/bangumi/0b0321064b8a9669592aa106c45376c7082ef662.jpg","link":"http://bangumi.bilibili.com/anime/5803","pub_time":"2017-03-10 00:00:00","title":"SUPER LOVERS 第二季"},{"id":0,"img":"http://i0.hdslb.com/bfs/bangumi/24022640b0f05baf6cbe1be191ba41d2ef2d9c04.jpg","link":"http://bangumi.bilibili.com/anime/5830","pub_time":"2017-03-10 00:40:00","title":"三年E班Q"},{"id":0,"img":"http://i0.hdslb.com/bfs/bangumi/83822a05fa70ae0a0fb82a5fb99dd9cff9d09408.jpg","link":"http://bangumi.bilibili.com/anime/5800","pub_time":"2017-03-08 23:30:00","title":"小林家的龙女仆"}]}
         * previous : {"list":[{"cover":"http://i0.hdslb.com/bfs/bangumi/2673ac643b48eb5bda64c960a2ca850fbebb839d.jpg","favourites":"1655140","is_finish":1,"last_time":1482262210,"newest_ep_index":"11","pub_time":1475607600,"season_id":5550,"season_status":2,"title":"夏目友人帐 伍","watching_count":0},{"cover":"http://i0.hdslb.com/bfs/bangumi/b75c55d209d156c8631f5ceb21e5c52c834dbb60.jpg","favourites":"1311980","is_finish":0,"last_time":1483196409,"newest_ep_index":"1","pub_time":1483196400,"season_id":5747,"season_status":2,"title":"Fate/Grand Order \u2010First Order\u2010","watching_count":0},{"cover":"http://i0.hdslb.com/bfs/bangumi/b3633d2e5cafa0d048f4beef63618c92cfac4c4c.jpg","favourites":"781699","is_finish":1,"last_time":1482465609,"newest_ep_index":"12","pub_time":1475812800,"season_id":5534,"season_status":2,"title":"我太受欢迎了该怎么办","watching_count":0}],"season":4,"year":2016}
         * serializing : [{"cover":"http://i0.hdslb.com/bfs/bangumi/91e659b3a3cfe0e62e5e26a11a9f617533e8f161.jpg","favourites":"765688","is_finish":0,"is_started":1,"last_time":1489118402,"newest_ep_index":"10","pub_time":1483675200,"season_id":5774,"season_status":2,"title":"清恋 SEIREN","watching_count":4433},{"cover":"http://i0.hdslb.com/bfs/bangumi/055fcccf87dd9b2ff6d86adc43711fce5df78e44.jpg","favourites":"759905","is_finish":0,"is_started":1,"last_time":1489118402,"newest_ep_index":"10","pub_time":1483675200,"season_id":5776,"season_status":2,"title":"URARA迷路帖","watching_count":3818},{"cover":"http://i0.hdslb.com/bfs/bangumi/49d8640887f92329bec70fcd3cb0cebb537f0aeb.jpg","favourites":"1608772","is_finish":0,"is_started":1,"last_time":1489112804,"newest_ep_index":"51","pub_time":1435248000,"season_id":2543,"season_status":2,"title":"狐妖小红娘","watching_count":4816},{"cover":"http://i0.hdslb.com/bfs/bangumi/cca34c815248053cc377989143190598242fb01d.jpg","favourites":"683955","is_finish":0,"is_started":1,"last_time":1489112488,"newest_ep_index":"10","pub_time":1483632000,"season_id":5861,"season_status":2,"title":"从前有座灵剑山 第二季","watching_count":4476},{"cover":"http://i0.hdslb.com/bfs/bangumi/b51ce61d004d2f896a6c96ea5528a9a58daac91f.jpg","favourites":"474588","is_finish":1,"is_started":1,"last_time":1489077600,"newest_ep_index":"12","pub_time":1482424800,"season_id":5830,"season_status":2,"title":"三年E班Q","watching_count":1771},{"cover":"http://i0.hdslb.com/bfs/bangumi/54cd8c6ceec79b680c0bf6fdc27def94307e1db6.jpg","favourites":"470852","is_finish":0,"is_started":1,"last_time":1489075202,"newest_ep_index":"9","pub_time":1484150400,"season_id":5803,"season_status":2,"title":"SUPER LOVERS 第二季","watching_count":1856}]
         */

        private AdEntity ad;
        private PreviousEntity previous;
        private List<SerializingEntity> serializing;

        public AdEntity getAd() {
            return ad;
        }

        public void setAd(AdEntity ad) {
            this.ad = ad;
        }

        public PreviousEntity getPrevious() {
            return previous;
        }

        public void setPrevious(PreviousEntity previous) {
            this.previous = previous;
        }

        public List<SerializingEntity> getSerializing() {
            return serializing;
        }

        public void setSerializing(List<SerializingEntity> serializing) {
            this.serializing = serializing;
        }

        public static class AdEntity {
            private List<?> body;
            private List<HeadEntity> head;

            public List<?> getBody() {
                return body;
            }

            public void setBody(List<?> body) {
                this.body = body;
            }

            public List<HeadEntity> getHead() {
                return head;
            }

            public void setHead(List<HeadEntity> head) {
                this.head = head;
            }

            public static class HeadEntity {
                /**
                 * id : 0
                 * img : http://i0.hdslb.com/bfs/bangumi/900940ccfd5b591bf1f69bed8b2d9a7de9f3c851.jpg
                 * link : http://bangumi.bilibili.com/anime/5776
                 * pub_time : 2017-03-10 12:00:00
                 * title : URARA迷路帖
                 */

                private int id;
                private String img;
                private String link;
                private String pub_time;
                private String title;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getImg() {
                    return img;
                }

                public void setImg(String img) {
                    this.img = img;
                }

                public String getLink() {
                    return link;
                }

                public void setLink(String link) {
                    this.link = link;
                }

                public String getPub_time() {
                    return pub_time;
                }

                public void setPub_time(String pub_time) {
                    this.pub_time = pub_time;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }
            }
        }

        public static class PreviousEntity {
            /**
             * list : [{"cover":"http://i0.hdslb.com/bfs/bangumi/2673ac643b48eb5bda64c960a2ca850fbebb839d.jpg","favourites":"1655140","is_finish":1,"last_time":1482262210,"newest_ep_index":"11","pub_time":1475607600,"season_id":5550,"season_status":2,"title":"夏目友人帐 伍","watching_count":0},{"cover":"http://i0.hdslb.com/bfs/bangumi/b75c55d209d156c8631f5ceb21e5c52c834dbb60.jpg","favourites":"1311980","is_finish":0,"last_time":1483196409,"newest_ep_index":"1","pub_time":1483196400,"season_id":5747,"season_status":2,"title":"Fate/Grand Order \u2010First Order\u2010","watching_count":0},{"cover":"http://i0.hdslb.com/bfs/bangumi/b3633d2e5cafa0d048f4beef63618c92cfac4c4c.jpg","favourites":"781699","is_finish":1,"last_time":1482465609,"newest_ep_index":"12","pub_time":1475812800,"season_id":5534,"season_status":2,"title":"我太受欢迎了该怎么办","watching_count":0}]
             * season : 4
             * year : 2016
             */

            private int season;
            private int year;
            private List<ListEntity> list;

            public int getSeason() {
                return season;
            }

            public void setSeason(int season) {
                this.season = season;
            }

            public int getYear() {
                return year;
            }

            public void setYear(int year) {
                this.year = year;
            }

            public List<ListEntity> getList() {
                return list;
            }

            public void setList(List<ListEntity> list) {
                this.list = list;
            }

            public static class ListEntity {
                /**
                 * cover : http://i0.hdslb.com/bfs/bangumi/2673ac643b48eb5bda64c960a2ca850fbebb839d.jpg
                 * favourites : 1655140
                 * is_finish : 1
                 * last_time : 1482262210
                 * newest_ep_index : 11
                 * pub_time : 1475607600
                 * season_id : 5550
                 * season_status : 2
                 * title : 夏目友人帐 伍
                 * watching_count : 0
                 */

                private String cover;
                private String favourites;
                private int is_finish;
                private int last_time;
                private String newest_ep_index;
                private int pub_time;
                private int season_id;
                private int season_status;
                private String title;
                private int watching_count;

                public String getCover() {
                    return cover;
                }

                public void setCover(String cover) {
                    this.cover = cover;
                }

                public String getFavourites() {
                    return favourites;
                }

                public void setFavourites(String favourites) {
                    this.favourites = favourites;
                }

                public int getIs_finish() {
                    return is_finish;
                }

                public void setIs_finish(int is_finish) {
                    this.is_finish = is_finish;
                }

                public int getLast_time() {
                    return last_time;
                }

                public void setLast_time(int last_time) {
                    this.last_time = last_time;
                }

                public String getNewest_ep_index() {
                    return newest_ep_index;
                }

                public void setNewest_ep_index(String newest_ep_index) {
                    this.newest_ep_index = newest_ep_index;
                }

                public int getPub_time() {
                    return pub_time;
                }

                public void setPub_time(int pub_time) {
                    this.pub_time = pub_time;
                }

                public int getSeason_id() {
                    return season_id;
                }

                public void setSeason_id(int season_id) {
                    this.season_id = season_id;
                }

                public int getSeason_status() {
                    return season_status;
                }

                public void setSeason_status(int season_status) {
                    this.season_status = season_status;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public int getWatching_count() {
                    return watching_count;
                }

                public void setWatching_count(int watching_count) {
                    this.watching_count = watching_count;
                }
            }
        }

        public static class SerializingEntity {
            /**
             * cover : http://i0.hdslb.com/bfs/bangumi/91e659b3a3cfe0e62e5e26a11a9f617533e8f161.jpg
             * favourites : 765688
             * is_finish : 0
             * is_started : 1
             * last_time : 1489118402
             * newest_ep_index : 10
             * pub_time : 1483675200
             * season_id : 5774
             * season_status : 2
             * title : 清恋 SEIREN
             * watching_count : 4433
             */

            private String cover;
            private String favourites;
            private int is_finish;
            private int is_started;
            private int last_time;
            private String newest_ep_index;
            private int pub_time;
            private int season_id;
            private int season_status;
            private String title;
            private int watching_count;

            public String getCover() {
                return cover;
            }

            public void setCover(String cover) {
                this.cover = cover;
            }

            public String getFavourites() {
                return favourites;
            }

            public void setFavourites(String favourites) {
                this.favourites = favourites;
            }

            public int getIs_finish() {
                return is_finish;
            }

            public void setIs_finish(int is_finish) {
                this.is_finish = is_finish;
            }

            public int getIs_started() {
                return is_started;
            }

            public void setIs_started(int is_started) {
                this.is_started = is_started;
            }

            public int getLast_time() {
                return last_time;
            }

            public void setLast_time(int last_time) {
                this.last_time = last_time;
            }

            public String getNewest_ep_index() {
                return newest_ep_index;
            }

            public void setNewest_ep_index(String newest_ep_index) {
                this.newest_ep_index = newest_ep_index;
            }

            public int getPub_time() {
                return pub_time;
            }

            public void setPub_time(int pub_time) {
                this.pub_time = pub_time;
            }

            public int getSeason_id() {
                return season_id;
            }

            public void setSeason_id(int season_id) {
                this.season_id = season_id;
            }

            public int getSeason_status() {
                return season_status;
            }

            public void setSeason_status(int season_status) {
                this.season_status = season_status;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public int getWatching_count() {
                return watching_count;
            }

            public void setWatching_count(int watching_count) {
                this.watching_count = watching_count;
            }
        }
    }
}
